import { sidebar } from "vuepress-theme-hope";

export const en = sidebar({
  "/": [
    "",
    {
      text: "Articles",
      icon: "note",
      prefix: "posts/",
      children: [
        {
          text: "Problem Diary",
          icon: "note",
          collapsable: true,
          prefix: "article/",
          children: ["article1", "article2", "article3"],
        },
        {
          text: "Version Iteration",
          icon: "edit",
          collapsable: true,
          prefix: "article/",
          children: ["article4"],
        },
        {
          text: "Study Notes",
          icon: "edit",
          collapsable: true,
          prefix: "article/",
          children: [
            {
              text: "JavaScript",
              icon: "edit",
              collapsable: true,
              prefix: "JavaScript/",
              children: [
                "浏览器渲染原理",
                "JavaScript执行原理",
                "JavaScript中的内存管理和闭包",
                "JavaScript中的函数增强",
                "JavaScript中的面向对象",
              ],
            },
            {
              text: "Vue",
              icon: "edit",
              collapsable: true,
              prefix: "Vue/",
              children: ["Vue零碎整理一", "Vue零碎整理二"],
            },
            {
              text: "React",
              icon: "edit",
              collapsable: true,
              prefix: "React/",
              children: ["React-jsx"],
            },
            {
              text: "SVG",
              icon: "edit",
              collapsable: true,
              prefix: "Svg/",
              children: ["认识SVG","绘制SVG","SVG基本形状","Grid和坐标系以及视口"],
            },
          ],
        },
      ],
    },
  ],
});
